package com.ying.dogying.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ying.dogying.entity.ImPost;
import com.ying.dogying.entity.ImUserCollection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 李华明
 * @since 2020-06-09
 */
public interface ImUserCollectionDao extends BaseMapper<ImUserCollection> {

    IPage<ImPost> selectByUserId(Page page, @Param(Constants.WRAPPER) QueryWrapper<ImUserCollection> orderByDesc);
}
